package com.ravi.queue;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.LinkedBlockingQueue;

@Component
public class PatientCollection {

	public ConcurrentHashMap<String, LinkedBlockingQueue<Integer>> manager = new ConcurrentHashMap<>();

	@PostConstruct
	public void init() {
		manager.put("抽血", new LinkedBlockingQueue<Integer>(100));
		manager.put("彩超", new LinkedBlockingQueue<Integer>(100));
		manager.put("CT", new LinkedBlockingQueue<Integer>(100));
		manager.put("心电图", new LinkedBlockingQueue<Integer>(100));
	}
}
